# Contributor: Alex Yam <alex@alexyam.com>
# Maintainer: Alex Yam <alex@alexyam.com>
pkgname=vbindiff
pkgver=3.0_beta5
pkgrel=1
pkgdesc="ncurses hex editor with diff mode for binary file comparison, supports files up to 4GB"
url="https://www.cjmweb.net/vbindiff/"
arch="all"
license="GPL-2.0-or-later"
depends="ncurses-dev"
options="!check" # no test suite
source="https://www.cjmweb.net/vbindiff/vbindiff-$pkgver.tar.gz"
subpackages="$pkgname-doc"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="cc9bc3b950f7b452fbc231f5cf4976b428dbeb96bfe13d518829f8a58898174a4c3b4b1ca0ed075c5b71c7ec27a8e7db4d09e36db74f727e40c524941dd8dbcc  vbindiff-3.0_beta5.tar.gz"
